package com.duobaoyu.dby.supply.biz.client.resource.bean.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName AddressEditDTO
 * @createTime 09:57:00 2023/02/01
 */
@Data
public class AddressEditDTO implements Serializable {

	private static final long serialVersionUID = 7711044868018754802L;
	/**
	 * 地址ID
	 */
	@NotNull(message = "地址ID不能为空")
	private Long supplyAddressId;
	/**
	 * 修改后的地址编码
	 */
	@NotBlank(message = "修改后的地址编码不能为空")
	private String areaCode;
}
